<%@ page language="java" contentType="text/html; charse=utf-8"
    pageEncoding="utf-8" isErrorPage="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0031)http://www.huanqiu.com/404.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


<meta name="filetype" content="1"> 
<meta name="publishedtype" content="1"> 
<meta name="pagetype" content="2"> 
<meta name="catalogs" content="error404">
<title>404,玩点网</title>
<link href="/public/static/404/public.css" rel="stylesheet" type="text/css">
<link href="/public/static/404/layoutError.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/public/static/404/jquery.js" charset="utf-8"></script>

</head>

<body>
<!-- 公共头部分 begin --><!-- 公共头部分 end -->

<!-- 内容区域 begin -->
<div class="main">
	<div class="mainCon">

        <!-- 错误主体 begin -->
        <div class="errorCon">
            <!--错误信息  begin -->
            <div class="errMsg">
            	<b></b>
            	<span class="spanT24">抱歉,您访问的页面地址有误,</span>
            	<span class="spanT36">或者该页不存在。</span>
            	<span class="spanT18"><span id="time">10</span>秒之后页面自动跳转首页......</span>
            </div>
            <!--错误信息  end -->

            <!--热门文章  begin -->
            <div class="newsList borBox"></div>
            <!--热门文章  end -->
        </div>
        <!-- 错误主体 end -->
    </div>
</div>
<!-- 内容区域 end -->
<!-- 尾巴 begin --><!-- 尾巴 end -->

<script type="text/javascript">
	window.onload = function(){
		setTimeout(ChangeTime, 1000);
	}
	function ChangeTime() {
		 
	      var time;
	 
	      time = document.getElementById("time").innerHTML;//$("#time").text();    
	 	
	      time = parseInt(time);
	 		console.log(time);
	      time--;
	 
	      if (time <= 0) {
	 
	        window.location.href = "/index.html";
	 
	      } else {
	 
	    	 document.getElementById("time").innerHTML  = time;
	 
	        setTimeout(ChangeTime, 1000);
	 
	      }
	}
</script>
</body></html>